<?php

/**
 * 入口文件
 *
 */
define('ROOT', dirname(__FILE__));
$domain = 'cnstanza.com';
date_default_timezone_set('PRC');

require_once(ROOT.'/class/database.class.php');
require_once(ROOT.'/class/download.class.php');
require_once(ROOT.'/class/common.class.php');

$down = new Download();
$down->resetdowninfo();

$action = $_GET['action']? $_GET['action'] : 'list';

require_once(ROOT.'/'.$action.'.php');
